package com.sunwayworld.basemodule.samplemanage.sample.mapper;

import com.sunwayworld.framework.mybatis.mapper.MapperParameter;
import com.sunwayworld.framework.spring.annotation.GikamBean;
import com.sunwayworld.framework.support.base.mapper.GenericMapper;

import java.util.List;
import java.util.Map;

@GikamBean
public interface LimsSampleMapper extends GenericMapper<Long> {

    List<Map<String, Object>> selectHandleSample(MapperParameter param);

    List<Map<String, Object>> selectDetail(MapperParameter parameter);

    List<Map<String, Object>> selectBatchSample(MapperParameter parameter);

    List<Map<String, Object>> selectSampleChildren(MapperParameter parameter);

    List<Map<String, Object>> selectExpiredSamples(MapperParameter parameter);

    List<Map<String, Object>> selectForFormula(MapperParameter extractMapFilter);

    List<Map<String, Object>> selectByParams(MapperParameter extractMapFilter);

    List<Map<String, Object>> selectSampleHandlesPagination(MapperParameter extractMapFilter);

    List<Map<String, Object>> selectBatchCountStatics(String year, String loginOrgId);

    List<Map<String, Object>> selectSampleCountStatics(String year, String loginOrgId);

    List<Map<String, Object>> selectTestMethodBySampleCode(MapperParameter extractMapFilter);

    List<Map<String, Object>> selectBatchChooseSample(MapperParameter parameter);

    List<Map<String, Object>> selectPassRate(MapperParameter parameter);
}
